import Vue from 'vue'
import Router from 'vue-router'
import index from  "./views/Index.vue"

Vue.use(Router)

export default new Router({
 
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/gameTable',
      name: 'gameTable',
      component: () => import(/* webpackChunkName: "about" */ './views/gameTable.vue')
    },
    {
        path: '/gameCenter',
        name: 'gameCenter',
        component: () => import(/* webpackChunkName: "about" */ './views/gameCenter.vue')
      },
      {
        path: '/gameCenterSingle',
        name: 'gameCenterSingle',
        component: () => import(/* webpackChunkName: "about" */ './views/gameCenterSingle.vue')
      }
  ]
})
